package com.hongshu.web.mapper.web;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hongshu.common.core.domain.NoteSearchVo;
import com.hongshu.web.domain.entity.WebNote;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: hongshu
 */
@Mapper
public interface WebNoteMapper extends BaseMapper<WebNote> {

    Page<NoteSearchVo> selectNotesWithUserInfo(
            @Param("page") Page<Object> page,
            @Param("cityName") String cityName,
            @Param("auditStatus") String auditStatus
    );
}
